<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Branch
 *
 * @author Le Vo Huu Tai
 */


class Product {

    /**
     *
     * @var int
     */
    public $product_id;


    /**
     * 
     * @var int
     */
    public $manufacturer_id;
    
    /**
     * 
     * @var int
     */
    public $product_quantity;
    
   /**
     *
     * @var string
     */
    public $product_model;
    
    /**
     *
     * @var string
     */
    public $product_name;
   
    
    /**
     *
     * @var string
     */
    public $product_description;
    
   /**
     *
     * @var string
     */
    public $product_image;
    
    /**
     *
     * @var int
     */
    public $product_price;
    
        
    /**
     *
     * @var int
     */
    public $product_date_added;
    
    /**
     *
     * @var int
     */
    public $product_last_modified;
    
    /**
     *
     * @var int
     */
    public $product_weight;
    
    /**
     *
     * @var int
     */
    public $product_status;
  
    /**
     *
     * @var int
     */
    public $product_ordered;
	
    /**
     * Constructor 
     */
    public function  __construct($product_id = null, $manufacturer_id = null, $product_quantity = null, $product_model = null, $product_name = null, 
                                 $product_description = null, $product_image = null, $product_price = null, $product_date_added = null, $product_last_modified = null, $product_weight = null, $product_status = null, 
                                 $product_ordered = null) {

        $this->product_id =  $product_id;
        $this->manufacturer_id = $manufactures_id;
        $this->product_quantity = $product_quantity;
        $this->product_model = $product_model;
        $this->product_name = $product_name;
        $this->product_description = $product_description; 
        $this->product_image = $product_image;
        $this->product_price = $product_price;
        $this->product_date_added = $product_date_added;
        $this->product_last_modified = $product_last_modified;
        $this->product_weight = $product_weight;
        $this->product_status = $product_status;
        $this->product_ordered = $product_ordered;
    }
}


class ListProduct{

    /**
     *
     * @var Branch[]
     */
    public $product;
}